<materials>
	<border id="1"> -- mountain edge border --	
		<borderitem edge="n"   item="891"/>
		<borderitem edge="w"   item="894"/>
		<borderitem edge="e"   item="892"/>
		<borderitem edge="s"   item="893"/>
		<borderitem edge="cnw" item="895"/>
		<borderitem edge="cne" item="896"/>
		<borderitem edge="cse" item="897"/>
		<borderitem edge="csw" item="898"/>
		<borderitem edge="dnw" item="899"/>
		<borderitem edge="dne" item="900"/>
		<borderitem edge="dse" item="901"/>
		<borderitem edge="dsw" item="902"/>
	</border>
	
	<border id="2" group="1"> -- grass border --
		<borderitem edge="n"   item="4542"/>
		<borderitem edge="e"   item="4543"/>
		<borderitem edge="s"   item="4544"/>
		<borderitem edge="w"   item="4545"/>
		<borderitem edge="cnw" item="4546"/>
		<borderitem edge="cne" item="4547"/>
		<borderitem edge="csw" item="4548"/>
		<borderitem edge="cse" item="4549"/>
		<borderitem edge="dnw" item="4550"/>
		<borderitem edge="dne" item="4551"/>
		<borderitem edge="dsw" item="4552"/>
		<borderitem edge="dse" item="4553"/>
	</border>
	
	<border id="3"> -- mountain inner border --
		<borderitem edge="e"   item="873"/>
		<borderitem edge="s"   item="874"/>
		<borderitem edge="dne" item="873"/>
		<borderitem edge="dsw" item="874"/>
		<borderitem edge="dse" item="877"/>
	</border>
	
	<border id="4"> -- Flat roof border --
		<borderitem edge="n"   item="5052"/>
		<borderitem edge="w"   item="5049"/>
		<borderitem edge="s"   item="921"/>
		<borderitem edge="e"   item="922"/>
		<borderitem edge="cnw" item="5050"/>
		<borderitem edge="cne" item="5054"/>
		<borderitem edge="csw" item="5048"/>
		<borderitem edge="cse" item="923"/>
		<borderitem edge="dnw" item="5051"/>
		<borderitem edge="dne" item="5053"/>
		<borderitem edge="dsw" item="5047"/>
		<borderitem edge="dse" item="5045"/>
	</border>
	
	<border id="5"> -- grass border --
		<borderitem edge="n"   item="4644"/>
		<borderitem edge="e"   item="4645"/>
		<borderitem edge="s"   item="4646"/>
		<borderitem edge="w"   item="4647"/>
		<borderitem edge="cnw" item="4652"/>
		<borderitem edge="cne" item="4653"/>
		<borderitem edge="csw" item="4654"/>
		<borderitem edge="cse" item="4655"/>
		<borderitem edge="dnw" item="4648"/>
		<borderitem edge="dne" item="4649"/>
		<borderitem edge="dsw" item="4650"/>
		<borderitem edge="dse" item="4651"/>
	</border>
	
	<border id="6"> -- snow border --
		<borderitem edge="n"   item="4737"/>
		<borderitem edge="e"   item="4738"/>
		<borderitem edge="s"   item="4739"/>
		<borderitem edge="w"   item="4740"/>
		<borderitem edge="cnw" item="4741"/>
		<borderitem edge="cne" item="4742"/>
		<borderitem edge="csw" item="4743"/>
		<borderitem edge="cse" item="4744"/>
		<borderitem edge="dnw" item="4745"/>
		<borderitem edge="dne" item="4746"/>
		<borderitem edge="dsw" item="4747"/>
		<borderitem edge="dse" item="4748"/>
	</border>
	
	<border id="7"> -- cave border --
		<borderitem edge="n"   item="4796"/>
		<borderitem edge="e"   item="4797"/>
		<borderitem edge="s"   item="4798"/>
		<borderitem edge="w"   item="4799"/>
		<borderitem edge="cnw" item="4800"/>
		<borderitem edge="cne" item="4801"/>
		<borderitem edge="csw" item="4802"/>
		<borderitem edge="cse" item="4803"/>
		<borderitem edge="dnw" item="4804"/>
		<borderitem edge="dne" item="4805"/>
		<borderitem edge="dsw" item="4806"/>
		<borderitem edge="dse" item="4807"/>
	</border>
	
	<border id="8" group="1"> -- lawn border --
		<borderitem edge="n"   item="4784"/>
		<borderitem edge="e"   item="4785"/>
		<borderitem edge="s"   item="4786"/>
		<borderitem edge="w"   item="4787"/>
		<borderitem edge="cnw" item="4788"/>
		<borderitem edge="cne" item="4789"/>
		<borderitem edge="csw" item="4790"/>
		<borderitem edge="cse" item="4791"/>
		<borderitem edge="dnw" item="4792"/>
		<borderitem edge="dne" item="4793"/>
		<borderitem edge="dsw" item="4794"/>
		<borderitem edge="dse" item="4795"/>
	</border>
	
	<border id="9" group="1"> -- jungle grass border --
		<borderitem edge="n"   item="3305"/>
		<borderitem edge="e"   item="3302"/>
		<borderitem edge="s"   item="3304"/>
		<borderitem edge="w"   item="3303"/>
		<borderitem edge="cnw" item="3301"/>
		<borderitem edge="cne" item="3300"/>
		<borderitem edge="csw" item="3299"/>
		<borderitem edge="cse" item="3298"/>
		<borderitem edge="dnw" item="3309"/>
		<borderitem edge="dne" item="3308"/>
		<borderitem edge="dsw" item="3307"/>
		<borderitem edge="dse" item="3306"/>
	</border>
	
	<border id="10" group="1"> -- mountain edge border --
		<borderitem edge="n"   item="4456"/>
		<borderitem edge="e"   item="4457"/>
		<borderitem edge="s"   item="4458"/>
		<borderitem edge="w"   item="4459"/>
		<borderitem edge="cnw" item="4460"/>
		<borderitem edge="cne" item="4461"/>
		<borderitem edge="cse" item="4462"/>
		<borderitem edge="csw" item="4463"/>
		<borderitem edge="dnw" item="4464"/>
		<borderitem edge="dne" item="4465"/>
		<borderitem edge="dse" item="4466"/>
		<borderitem edge="dsw" item="4467"/>
	</border>
	
	<border id="11" group="1"> -- rock border --
		<borderitem edge="n"   item="4554"/>
		<borderitem edge="e"   item="4555"/>
		<borderitem edge="s"   item="4556"/>
		<borderitem edge="w"   item="4557"/>
		<borderitem edge="cnw" item="4558"/>
		<borderitem edge="cne" item="4559"/>
		<borderitem edge="csw" item="4560"/>
		<borderitem edge="cse" item="4561"/>
		<borderitem edge="dnw" item="4562"/>
		<borderitem edge="dne" item="4563"/>
		<borderitem edge="dsw" item="4564"/>
		<borderitem edge="dse" item="4565"/>
	</border>
	
	<border id="12" group="1"> -- gravel border --
		<borderitem edge="n"   item="4596"/>
		<borderitem edge="e"   item="4597"/>
		<borderitem edge="s"   item="4598"/>
		<borderitem edge="w"   item="4599"/>
		<borderitem edge="cnw" item="4600"/>
		<borderitem edge="cne" item="4601"/>
		<borderitem edge="csw" item="4602"/>
		<borderitem edge="cse" item="4603"/>
		<borderitem edge="dnw" item="4604"/>
		<borderitem edge="dne" item="4605"/>
		<borderitem edge="dsw" item="4606"/>
		<borderitem edge="dse" item="4607"/>
	</border>
	
	<border id="13" group="1"> -- dirt lava border --
		<borderitem edge="n"   item="4667"/>
		<borderitem edge="e"   item="4668"/>
		<borderitem edge="s"   item="4669"/>
		<borderitem edge="w"   item="4670"/>
		<borderitem edge="cnw" item="4671"/>
		<borderitem edge="cne" item="4672"/>
		<borderitem edge="csw" item="4673"/>
		<borderitem edge="cse" item="4674"/>
		<borderitem edge="dnw" item="4675"/>
		<borderitem edge="dne" item="4676"/>
		<borderitem edge="dsw" item="4677"/>
		<borderitem edge="dse" item="4678"/>
	</border>
	
	<border id="14" group="1"> -- light dirt border --
		<borderitem edge="n"   item="4679"/>
		<borderitem edge="e"   item="4680"/>
		<borderitem edge="s"   item="4681"/>
		<borderitem edge="w"   item="4682"/>
		<borderitem edge="cnw" item="4683"/>
		<borderitem edge="cne" item="4684"/>
		<borderitem edge="csw" item="4685"/>
		<borderitem edge="cse" item="4686"/>
		<borderitem edge="dnw" item="4687"/>
		<borderitem edge="dne" item="4688"/>
		<borderitem edge="dsw" item="4689"/>
		<borderitem edge="dse" item="4690"/>
	</border> 
	
	<border id="15" group="1"> -- swamp border --
		<borderitem edge="n"   item="4713"/>
		<borderitem edge="e"   item="4714"/>
		<borderitem edge="s"   item="4715"/>
		<borderitem edge="w"   item="4716"/>
		<borderitem edge="cnw" item="4717"/>
		<borderitem edge="cne" item="4718"/>
		<borderitem edge="csw" item="4719"/>
		<borderitem edge="cse" item="4720"/>
		<borderitem edge="dnw" item="4721"/>
		<borderitem edge="dne" item="4722"/>
		<borderitem edge="dsw" item="4723"/>
		<borderitem edge="dse" item="4724"/>
	</border>

	<border id="16"> -- desert sand border --
		<borderitem edge="n"   item="4772"/>
		<borderitem edge="e"   item="4775"/>
		<borderitem edge="s"   item="4773"/>
		<borderitem edge="w"   item="4774"/>
		<borderitem edge="cnw" item="4776"/>
		<borderitem edge="cne" item="4777"/>
		<borderitem edge="csw" item="4778"/>
		<borderitem edge="cse" item="4779"/>
		<borderitem edge="dnw" item="4780"/>
		<borderitem edge="dne" item="4781"/>
		<borderitem edge="dsw" item="4782"/>
		<borderitem edge="dse" item="4783"/>
	</border>
	
	<border id="17"> -- beach sand border --
		<borderitem edge="n"   item="4760"/>
		<borderitem edge="e"   item="4761"/>
		<borderitem edge="s"   item="4762"/>
		<borderitem edge="w"   item="4763"/>
		<borderitem edge="cnw" item="4764"/>
		<borderitem edge="cne" item="4765"/>
		<borderitem edge="csw" item="4766"/>
		<borderitem edge="cse" item="4767"/>
		<borderitem edge="dnw" item="4768"/>
		<borderitem edge="dne" item="4769"/>
		<borderitem edge="dsw" item="4770"/>
		<borderitem edge="dse" item="4771"/>
	</border>
	
	<border id="18"> -- lava border --
		<borderitem edge="n"   item="4808"/>
		<borderitem edge="e"   item="4809"/>
		<borderitem edge="s"   item="4810"/>
		<borderitem edge="w"   item="4811"/>
		<borderitem edge="cnw" item="4812"/>
		<borderitem edge="cne" item="4813"/>
		<borderitem edge="csw" item="4814"/>
		<borderitem edge="cse" item="4815"/>
		<borderitem edge="dnw" item="4816"/>
		<borderitem edge="dne" item="4817"/>
		<borderitem edge="dsw" item="4818"/>
		<borderitem edge="dse" item="4819"/>
	</border>
	
	<border id="19" group="1"> -- hard rock border --
		<borderitem edge="n"   item="3226"/>
		<borderitem edge="e"   item="3227"/>
		<borderitem edge="s"   item="3228"/>
		<borderitem edge="w"   item="3229"/>
		<borderitem edge="cnw" item="3230"/>
		<borderitem edge="cne" item="3231"/>
		<borderitem edge="csw" item="3232"/>
		<borderitem edge="cse" item="3233"/>
		<borderitem edge="dnw" item="3234"/>
		<borderitem edge="dne" item="3235"/>
		<borderitem edge="dsw" item="3236"/>
		<borderitem edge="dse" item="3237"/>
	</border>
	
	<border id="20" group="1"> -- stone border --
		<borderitem edge="n"   item="4514"/>
		<borderitem edge="e"   item="4515"/>
		<borderitem edge="s"   item="4516"/>
		<borderitem edge="w"   item="4517"/>
		<borderitem edge="cnw" item="4518"/>
		<borderitem edge="cne" item="4519"/>
		<borderitem edge="csw" item="4520"/>
		<borderitem edge="cse" item="4521"/>
		<borderitem edge="dnw" item="4522"/>
		<borderitem edge="dne" item="4523"/>
		<borderitem edge="dsw" item="4524"/>
		<borderitem edge="dse" item="4525"/>
	</border>
	
	<border id="23"> -- brick roof, vertical--
		<borderitem edge="s" item="934"/>
		<borderitem edge="cse" item="930"/>
		<borderitem edge="csw" item="933"/>
		<borderitem edge="w" item="928"/>
		<borderitem edge="e" item="925"/>
	</border>
	
	<border id="24"> -- brick roof, left--
		<borderitem edge="s" item="931"/>
		<borderitem edge="cse" item="930"/>
		<borderitem edge="csw" item="933"/>
		<borderitem edge="w" item="928"/>
		<borderitem edge="e" item="925"/>
	</border>
	
	<border id="25"> -- brick roof, right --
		<borderitem edge="s" item="932"/>
		<borderitem edge="cse" item="930"/>
		<borderitem edge="csw" item="933"/>
		<borderitem edge="w" item="928"/>
		<borderitem edge="e" item="925"/>
	</border>
	
	<border id="26"> -- brick roof, up --
		<borderitem edge="e" item="941"/>
		<borderitem edge="cse" item="940"/>
		<borderitem edge="cne" item="943"/>
		<borderitem edge="n" item="938"/>
		<borderitem edge="s" item="935"/>
	</border>
	
	<border id="27"> -- brick roof, horizontal --
		<borderitem edge="e" item="944"/>
		<borderitem edge="cse" item="940"/>
		<borderitem edge="cne" item="943"/>
		<borderitem edge="n" item="938"/>
		<borderitem edge="s" item="935"/>
	</border>
	
	<border id="28"> -- brick roof, down --
		<borderitem edge="e" item="942"/>
		<borderitem edge="cse" item="940"/>
		<borderitem edge="cne" item="943"/>
		<borderitem edge="n" item="938"/>
		<borderitem edge="s" item="935"/>
	</border>
	
	<border id="29" type="optional"> -- normal mountain gravel border --
		<borderitem edge="n"   item="4471"/>
		<borderitem edge="e"   item="4468"/>
		<borderitem edge="s"   item="4469"/>
		<borderitem edge="w"   item="4472"/>
		<borderitem edge="cnw" item="4475"/>
		<borderitem edge="cne" item="4474"/>
		<borderitem edge="csw" item="4473"/>
		<borderitem edge="cse" item="4470"/>
		<borderitem edge="dnw" item="4476"/>
		<borderitem edge="dne" item="4478"/>
		<borderitem edge="dsw" item="4477"/>
		<borderitem edge="dse" item="4479"/>
	</border>
	
	<border id="31"> -- Flat brown bomboo roof border --
		<borderitem edge="n"   item="3353"/>
		<borderitem edge="w"   item="3356"/>
		<borderitem edge="s"   item="3350"/>
		<borderitem edge="e"   item="3355"/>
		<borderitem edge="cnw" item="3354"/>
		<borderitem edge="cne" item="3352"/>
		<borderitem edge="csw" item="3351"/>
		<borderitem edge="cse" item="3349"/>
		<borderitem edge="dnw" item="3360"/>
		<borderitem edge="dne" item="3359"/>
		<borderitem edge="dsw" item="3358"/>
		<borderitem edge="dse" item="3357"/>
	</border>
	
	<border id="34"> -- wooden roof, up --
		<borderitem edge="e" item="951"/>
		<borderitem edge="cse" item="950"/>
		<borderitem edge="cne" item="954"/>
		<borderitem edge="n" item="949"/>
		<borderitem edge="s" item="945"/>
	</border>
	
	<border id="35"> -- wooden roof, horizontal --
		<borderitem edge="e" item="952"/>
		<borderitem edge="cse" item="950"/>
		<borderitem edge="cne" item="954"/>
		<borderitem edge="n" item="949"/>
		<borderitem edge="s" item="945"/>
	</border>
	
	<border id="36"> -- wooden roof, down --
		<borderitem edge="e" item="953"/>
		<borderitem edge="cse" item="950"/>
		<borderitem edge="cne" item="954"/>
		<borderitem edge="n" item="949"/>
		<borderitem edge="s" item="945"/>
	</border>
	
	<border id="37"> -- wooden roof, left --
		<borderitem edge="s" item="963"/>
		<borderitem edge="cse" item="960"/>
		<borderitem edge="csw" item="964"/>
		<borderitem edge="w" item="959"/>
		<borderitem edge="e" item="955"/>
	</border>
	
	<border id="38"> -- wooden roof, vertical --
		<borderitem edge="s" item="962"/>
		<borderitem edge="cse" item="960"/>
		<borderitem edge="csw" item="964"/>
		<borderitem edge="w" item="959"/>
		<borderitem edge="e" item="955"/>
	</border>
	
	<border id="39"> -- wooden roof, right --
		<borderitem edge="s" item="961"/>
		<borderitem edge="cse" item="960"/>
		<borderitem edge="csw" item="964"/>
		<borderitem edge="w" item="959"/>
		<borderitem edge="e" item="955"/>
	</border>
	
	<border id="40"> -- dark wooden floor border --
		<borderitem edge="n"   item="3145"/>
		<borderitem edge="w"   item="3147"/>
		<borderitem edge="s"   item="3144"/>
		<borderitem edge="e"   item="3146"/>
		<borderitem edge="cnw" item="3143"/>
		<borderitem edge="cne" item="3142"/>
		<borderitem edge="csw" item="3141"/>
		<borderitem edge="cse" item="3140"/>
		<borderitem edge="dnw" item="3148"/>
		<borderitem edge="dne" item="3149"/>
		<borderitem edge="dsw" item="3150"/>
		<borderitem edge="dse" item="3151"/>
	</border>
	
	<border id="41" type="optional"> -- wooden floor border --
		<borderitem edge="n"   item="435"/>
		<borderitem edge="w"   item="437"/>
		<borderitem edge="s"   item="434"/>
		<borderitem edge="e"   item="436"/>
		<borderitem edge="cnw" item="444"/>
		<borderitem edge="cne" item="445"/>
		<borderitem edge="csw" item="443"/>
		<borderitem edge="cse" item="442"/>
		<borderitem edge="dnw" item="440"/>
		<borderitem edge="dne" item="441"/>
		<borderitem edge="dsw" item="439"/>
		<borderitem edge="dse" item="438"/>
	</border>
	
	<border id="50"> -- invisible border --
	<!--
		<borderitem edge="n"   item="4542"/>
		<borderitem edge="e"   item="4543"/>
		<borderitem edge="s"   item="4544"/>
		<borderitem edge="w"   item="4545"/>
		<borderitem edge="cnw" item="4546"/>
		<borderitem edge="cne" item="4547"/>
		<borderitem edge="csw" item="4548"/>
		<borderitem edge="cse" item="4549"/>
	-->
		<borderitem edge="n"   item="80"/>
		<borderitem edge="e"   item="81"/>
		<borderitem edge="s"   item="82"/>
		<borderitem edge="w"   item="83"/>
		<borderitem edge="cnw" item="84"/>
		<borderitem edge="cne" item="85"/>
		<borderitem edge="csw" item="86"/>
		<borderitem edge="cse" item="87"/>
	</border>
	
	<border id="51"> -- partial mountain gravel border --
		<borderitem edge="e"   item="875"/>
		<borderitem edge="s"   item="876"/>
		<borderitem edge="cse" item="4470"/>
		<borderitem edge="dne" item="4468"/>
		<borderitem edge="dsw" item="4469"/>
		<borderitem edge="dse" item="4482"/>
	</border>
	
	<border id="57" group="1"> -- dark swamp border --
		<borderitem edge="n"   item="4725"/>
		<borderitem edge="e"   item="4726"/>
		<borderitem edge="s"   item="4727"/>
		<borderitem edge="w"   item="4728"/>
		<borderitem edge="cnw" item="4729"/>
		<borderitem edge="cne" item="4730"/>
		<borderitem edge="csw" item="4731"/>
		<borderitem edge="cse" item="4732"/>
		<borderitem edge="dnw" item="4733"/>
		<borderitem edge="dne" item="4734"/>
		<borderitem edge="dsw" item="4735"/>
		<borderitem edge="dse" item="4736"/>
	</border>


</materials>